Skip to content

Fix the KMP Support - #151

Merged
github-actions[bot] merged 1 commit into
mainfrom
fix/kmp
Dec 21, 2025
Merged

Fix the KMP Support#151
github-actions[bot] merged 1 commit into
mainfrom
fix/kmp

Conversation

@poad

@poad poad commented Dec 21, 2025

Copy link
Copy Markdown
Owner

概要

KMP 対応の修正

変更点

KMP 対応として、KMP によるライブラリ部分と Android アプリ本体部分とをモジュール分離しました。
これにより、AGP の deprecated が解消されて、Android 以外のプラットフォームでも使いやすくなっているはずです。

確認事項

  • (Typescriptの場合) pnpm audit --fix で脆弱性を修正済みか?
  • (Typescriptの場合) pnpm lint-fix でコードスタイルは修正済みか?
  • (Markdownの場合)npx -y markdownlint-cli2@latest . --fix で Markdown の lint は修正済みか?

特記事項

あれば記述する

@github-actions
github-actions Bot enabled auto-merge (squash) December 21, 2025 10:19

@amazon-q-developer amazon-q-developer Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

レビュー結果

このPRは、KMP(Kotlin Multiplatform)対応のためのモジュール分離を行う重要な変更です。全体的な構造は良好ですが、いくつかの修正が必要な問題があります。

主な問題点

  1. ビルド設定の重複: app/build.gradle.ktsbuildFeatures ブロックが重複しています
  2. セキュリティ: Kotlin serialization プラグインのバージョンがハードコードされており、libs.versions.toml で管理すべきです
  3. バージョン管理: gradle/libs.versions.tomlagpandroidGradlePlugin が重複しています
  4. Preview関数: AppAndroidPreview() でActivityを直接呼び出すのは適切ではありません

良い点

  • KMPによるモジュール分離が適切に実装されています
  • 環境変数を使用したセキュアな設定管理が行われています
  • OpenTelemetryによる可観測性の実装が含まれています
  • 日本語でのドキュメント更新が丁寧に行われています

推奨事項

指摘した問題を修正後、マージ可能と判断します。特にセキュリティ関連の修正は優先して対応してください。


You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.

Comment thread agents/agent-koog/app/build.gradle.kts
Comment thread agents/agent-koog/app/build.gradle.kts
Comment thread agents/agent-koog/gradle/libs.versions.toml
@github-actions
github-actions Bot merged commit b8e8a68 into main Dec 21, 2025
8 checks passed
@github-actions
github-actions Bot deleted the fix/kmp branch December 21, 2025 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant